package com.lanchetech.dao;
import org.apache.ibatis.annotations.Param;

import com.lanchetech.entity.AudioListen;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AudioListenMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AudioListen record);

    int insertSelective(AudioListen record);

    AudioListen selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AudioListen record);

    int updateByPrimaryKey(AudioListen record);

    AudioListen findOneByUserIdAndRewardQueueId(@Param("userId")Long userId,@Param("rewardQueueId")Long rewardQueueId);


}